home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 July & August / PCWorld_2006-07-08_cd.bin / v cisle / acehtml / acehtmlfreeware.exe / scriptdef / Gradual-Highlight Image.sd < prev    next >
INI File  |  2004-06-28  |  1KB  |  60 lines

  1. [SUBJECT]
  2. Description=Gradual-Highlight Image Script
  3. ImageIndex=1
  4. Folder=Graphical Effects
  5.  
  6.  
  7. [HEAD_TEXT]
  8. ;<script language="JavaScript1.2">
  9. ;
  10. ;/*
  11. ;Gradual-Highlight Image Script-
  12. ;⌐ Dynamic Drive (www.dynamicdrive.com)
  13. ;For full source code, installation instructions,
  14. ;100's more DHTML scripts, and Terms Of
  15. ;Use, visit dynamicdrive.com
  16. ;*/
  17. ;
  18. ;function high(which2){
  19. ;theobject=which2;
  20. ;highlighting=setInterval("highlightit(theobject)",`interval`);
  21. ;}
  22. ;function low(which2){
  23. ;clearInterval(highlighting);
  24. ;which2.filters.alpha.opacity=20;
  25. ;}
  26. ;
  27. ;function highlightit(cur2){
  28. ;if (cur2.filters.alpha.opacity<100)
  29. ;cur2.filters.alpha.opacity+=5;
  30. ;else if (window.highlighting)
  31. ;clearInterval(highlighting);
  32. ;}
  33. ;
  34. ;</script>
  35. ;
  36.  
  37.  
  38. [BODY_TEXT]
  39. ;<a href="`linked_page`"><img alt="" src="`source_image`" border="0"
  40. ;style="filter:alpha(opacity=40)" onMouseover="high(this)"
  41. ;onMouseout="low(this)"></a>
  42.  
  43.  
  44.  
  45.  
  46.  
  47. [`interval`]
  48. Kind=N
  49. Value=50
  50.  
  51. [`linked_page`]
  52. Kind=U
  53. Value=whatever.htm
  54.  
  55. [`source_image`]
  56. Kind=U
  57. Value=mygif.gif
  58.  
  59.  
  60.